package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
<<<<<<< HEAD:src/main/java/com/accp/entity/PsInspectorDetail.java
 * @author 曹畅
 * @since 2019-11-20
=======
 * @author wyk
 * @since 2019-11-15
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c:src/main/java/com/accp/entity/PsInspectortaskAllot.java
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsInspectortaskAllot extends Model<PsInspectortaskAllot> {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 巡检任务ID
     */
    @TableField("TASKID")
    private Integer taskid;

<<<<<<< HEAD:src/main/java/com/accp/entity/PsInspectorDetail.java
    @TableField("userId")
    private Integer userId;

    @TableField("CREATIONTIME")
    private LocalDateTime creationtime;

    @TableField("CREATEDBY")
    private String createdby;

    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;
=======
    /**
     * 巡检员id，外键
     */
    @TableField("INSPECTORID")
    private Integer inspectorid;
>>>>>>> b2bf8575919983cc77baa0b30105d228461a060c:src/main/java/com/accp/entity/PsInspectortaskAllot.java


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
